package houseHold.electricObjects;

import houseHold.HouseHoldObject;
import consumption.ConsumptionType;

public class ElectricObject extends HouseHoldObject {
	public ElectricObject() {
		super(true);
		cType = ConsumptionType.ELECTRICITY;
	}

	public ElectricObject(HouseHoldObject old) {
		super(false);
		this.cType = ConsumptionType.ELECTRICITY;

		this.consumption = old.getConsumption();
		this.location = old.getLocation();
		this.name = old.getName();
		this.sensor = old.getSensor();
		this.type = old.getType();
		this.objectID = old.getID();
	}
}
